package Animal;

public class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }

    public void eat(){
        System.out.println(this.name+"正在吃东西");
    }
    public void act(){
        System.out.println(this.name+"正在行动");
    }
}
